package cn.ranyue.basic.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QueryResult<T> {
    /*总条数*/
    private Integer total = 0;
    /*当前页数据*/
    private  List<T> list = new ArrayList<>();
}
